package com.hnit.web.bean;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jdk.jfr.Description;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("orders")
@AllArgsConstructor
@NoArgsConstructor
public class Orders {
    @TableId
    @Description("订单ID")
    private Long orderId;
    @Description("用户ID")
    private Long userId;
    @Description("地址ID")
    private Long addressId;
    @Description("支付方式(1-支付宝 2-微信 3-银行卡)")
    private Integer paymentType;
    @Description("支付时间")
    private String paymentTime;
    @Description("订单状态(0-订单取消 1-待支付 2-已支付待发货 3-已发货 4-已签收 5-订单完成 6-申请售后 7-退货退款)")
    private Integer orderStatus;
    @Description("发货时间")
    private String shippingTime;
    @Description("最新操作时间")
    private String updateTime;
    @Description("订单备注")
    private String remark;
}
